#define N 15
#include<stdlib.h>

int main()
{
    int *p;
    p=(int*)malloc(sizeof(int)*(1<<30));

    if(p!=NULL)
        puts("Allocate succeed!");
    else
        puts("Allocate failed!");

    p[0]=3;
    p[999999]=123;



    free(p);//release
    p=NULL;

    return 0;
}
